<?php
namespace Api\Controller;
use Think\Controller;
class CommentsController extends Controller
{
    public function Comments()
    {
        //显示详细信息
        $data["id"]=I('get.id');
        $res=M("Comments")->where($data)->find();
        $this->ajaxReturn($res,'JSON');

    }
}